package com.x.provider.customer.enums;

import com.x.provider.api.oss.enums.MimeTypeEnum;


public enum SystemResumeAttributeName {
    NICK_NAME(MimeTypeEnum.TEXT),
    AVATAR_ID(MimeTypeEnum.PICTURE),
    PERSONAL_HOMEPAGE_BACKGROUND_ID(MimeTypeEnum.PICTURE),
    SIGNATURE(MimeTypeEnum.TEXT),
    ;
    private MimeTypeEnum greenDataType;

    SystemResumeAttributeName(MimeTypeEnum greenDataType){
        this.greenDataType = greenDataType;
    }

    public MimeTypeEnum getGreenDataType() {
        return greenDataType;
    }

    public static SystemResumeAttributeName valueOfIfPresent(String value){
        for (SystemResumeAttributeName systemResumeAttributeName : SystemResumeAttributeName.values()) {
            if (systemResumeAttributeName.name().equals(value)){
                return systemResumeAttributeName;
            }
        }
        return null;
    }
}
